WPForms\Forms\Token S

Total Complexity 23
Dependencies 1
Dependents 0
Total lines 277
Lines of code 89
Logical lines of code 39
Comment lines 147
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
validate()
S
59 5 14
get_valid_tokens()
S
53 3 25
get()
S
60 3 12
get_error_message()
S
78 2 3
maybe_get_support_text()
S
64 2 10
init()
S
82 1 3
hooks()
S
78 1 3
verify()
S
78 1 3
add_token_to_form_atts()
S
74 1 4
process_antispam_filter_wrapper()
S
78 1 3
get_missing_token_message()
S
79 1 3
get_invalid_token_message()
S
79 1 3
get_non_logged_user_error_message()
S
79 1 3